package com.hj.springframework3.proxy;

import com.hj.springframework3.annotation.Component;
import com.hj.springframework3.annotation.Value;

/**
 * @Author : hujing
 * @Date: 2025/7/7 9:35
 * @Description:
 */
@Component
public class OriginBean {
    @Value("${app.title}")
    public String name;
    
    public String version;
    
    @Value("${app.version")
    public void setVersion(String version){
        this.version = version;
    }
    
    public String getName(){
        return name;
    }
    
    public String getVersion(){
        return version;
    }
}
